x86/link: Discard the alternatives ".discard" sections
authorAndrew Cooper <andrew.cooper3@citrix.com>
Tue, 7 Apr 2015 17:26:15 +0000 (18:26 +0100)
committerKonrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Fri, 10 Apr 2015 15:36:03 +0000 (11:36 -0400)
commit4202a21cf6ab7ddfeef595f5a99f7da0afca262c
tree5265319e491f50ec8aec60fc7df143cbebd67e7b
parentc5e64ba6152309b770487bf143f2e49af45f9257
x86/link: Discard the alternatives ".discard" sections

This appears to have been missed when porting the alternatives framework from
Linux, and saves us a section which is otherwise loaded into memory.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
CC: Keir Fraser <keir@xen.org>
CC: Jan Beulich <JBeulich@suse.com>
Reviewed-by: Tim Deegan <tim@xen.org>
xen/arch/x86/xen.lds.S